home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / DEV / I-Z / ViewIt™ Shareware.sea / ViewIt™ 2.04 Shareware / About Compilers.rsrc / TEXT_1013_CS3. Pointers.txt < prev    next >
Text File  |  1992-08-11  |  548b  |  9 lines

  1. Pointers
  2.   Toolbox and FaceWare programming often requires you to find memory addresses (pointers) of records, arrays, or numbers.  The following table presents the expressions supported by each compiler that would return the address of the "thing".  The "thing" might, for example, be a module's shared record.
  3.  
  4.  compiler   memory address of the ‚Äúthing‚Äù
  5.  LC, WC     &thing        ...if non-array or an array element
  6.             thing            ...if an array
  7.  AF, LF     %LOC(thing)
  8.  MF         toolbx(PTR,thing)        ...a pseudo-toolbox call
  9.  LP, WP     @thing